# $Id: PKGBUILD 85404 2013-03-01 10:39:23Z andrea $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Brad Fanella <bradfanella@archlinux.us>
# Contributor: Wittfella <wittfella@wittfella.com>

pkgname=qtfm
pkgver=5.5
pkgrel=2
pkgdesc="A lightweight file manager"
arch=('i686' 'x86_64')
url="http://www.qtfm.org/"
license=('GPL')
depends=('file' 'qt4')
install=$pkgname.install
changelog=$pkgname.changelog
source=(http://www.qtfm.org/$pkgname-$pkgver.tar.gz)
sha256sums=('845fc43800d12483fa1993c56a8c965ff8dc917b97f03d9ce2e24318806fb211')

build() {
  cd "${srcdir}/$pkgname-$pkgver"

  qmake
  make
}

package() {
  cd "${srcdir}/$pkgname-$pkgver"

  make INSTALL_ROOT="${pkgdir}" install
}
